// Copyright (c) 2010 Manuel Peinado Gallego <manuel.peinado@gmail.com>
// Distributed under the MIT license

#include "View3d.h"


// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


void pyInitView3d()
{
    bpy::class_<View3d, boost::noncopyable>("View3d", bpy::no_init)
        .def("addDrawable", &View3d::addDrawable)
        .def("addPickable", &View3d::addPickable)
        .def("getHoverItem", &View3d::getHoverItem, 
             bpy::return_value_policy<bpy::reference_existing_object>())
    ;
}